package com.example.memoriesfall.alarm;

import android.app.Activity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

import java.util.Calendar;

public class alarm_activity extends Activity implements OnClickListener {

    private static alarm_activity appRef = null;
    private Button b_call_service, b_exit_service;
    boolean k = false;

    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        appRef = this;
        setContentView(R.layout.activity_alarm_activity);
        b_call_service = (Button) findViewById(R.id.alarm_button);
        b_call_service.setOnClickListener(this);
        b_exit_service = (Button) findViewById(R.id.exit_button);
        b_exit_service.setOnClickListener(this);
    }

    public static alarm_activity getApp(){
        return appRef;
    }
    public void btEvent(String data) {
        setTitle(data);
    }

    public
    }